ClientConnection

Undocumented in source.

Constructors

this
this(TcpStream client)
Undocumented in source.

Members

Aliases

restClient
alias restClient = resetClient
Undocumented in source.

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
isAlive
bool isAlive()
Undocumented in source. Be warned that the author may not have intended to support it.
onActive
void onActive()
Undocumented in source.
onClose
void onClose()
Undocumented in source.
onRead
void onRead(ubyte[] data)
Undocumented in source.
resetClient
void resetClient(TcpStream client)
Undocumented in source. Be warned that the author may not have intended to support it.
restTimeout
void restTimeout()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(ubyte[] data, DataWrittenHandler cback)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(StreamWriteBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

tcpClient
tcpClient [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From WheelTimer

~this
~this()
Undocumented in source.
onTimeOut
void onTimeOut()

the function will be called when the timer timeout.

rest
void rest(size_t next)

rest the timer.

stop
void stop()

stop the time, it will remove from Wheel.

isActive
bool isActive()

the time is active.

oneShop
oneShop [@property getter]

get the timer only run once.

oneShop
bool oneShop [@property setter]

set the timer only run once.

Meta